package com.esm.pdawms.model;

import zuo.biao.library.base.BaseModel;

//采购单货品编码
public class Cghp extends BaseModel {

    private static final long serialVersionUID = 1L;

    String hpbh = "";//编号
    String hpcode = "";//代号
    String hpname = "";//名称
    String ph = "";//批号
    String lsh = "";//流水号
    float ynum = 0; //待检数
    String tjkw = "";//推荐库位，历史库位
    float ydbqnum = 0; //合格数
    float badnum = 0; //不合格数
    float yrknum = 0; //入库数
    float num = 0;//检验总数
    String gysname = "";//供应商

    public Cghp() {
        //default
    }

    public float getYdbqnum() {
        return ydbqnum;
    }

    public void setYdbqnum(float ydbqnum) {
        this.ydbqnum = ydbqnum;
    }

    public float getBadnum() {
        return badnum;
    }

    public void setBadnum(float badnum) {
        this.badnum = badnum;
    }

    public float getNum() {
        return num;
    }

    public void setNum(float num) {
        this.num = num;
    }

    public String getHpbh() {
        return hpbh;
    }

    public void setHpbh(String hpbh) {
        this.hpbh = hpbh;
    }

    public String getHpname() {
        return hpname;
    }

    public void setHpname(String hpname) {
        this.hpname = hpname;
    }

    public String getPh() {
        return ph;
    }

    public void setPh(String ph) {
        this.ph = ph;
    }

    public String getLsh() {
        return lsh;
    }

    public void setLsh(String lsh) {
        this.lsh = lsh;
    }

    public float getYnum() {
        return ynum;
    }

    public void setYnum(float ynum) {
        this.ynum = ynum;
    }

    public float getYrknum() {
        return yrknum;
    }

    public void setYrknum(float yrknum) {
        this.yrknum = yrknum;
    }

    public String getGysname() {
        return gysname;
    }

    public void setGysname(String gysname) {
        this.gysname = gysname;
    }

    public String getTjkw() {
        return tjkw;
    }

    public void setTjkw(String tjkw) {
        this.tjkw = tjkw;
    }

    public String getHpcode() {
        return hpcode;
    }

    public void setHpcode(String hpcode) {
        this.hpcode = hpcode;
    }

    @Override
    protected boolean isCorrect() {//根据自己的需求决定，也可以直接 return true
        return id > 0;// && StringUtil.isNotEmpty(phone, true);
    }

}
